package checkauto.camera.com.util;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * Created by lin on 2017/6/9.
 */

public  class ReturnData {


    private static ReturnData instance;
//    public ReturnData instance;

    public static ReturnData getDefault() {
        if (instance == null) {
            synchronized (ReturnData.class) {
                if (instance == null) {
                    instance = new ReturnData();
                }
            }
        }
        return instance;
    }


    public interface CallData{
        void callData(ArrayList<HashMap<String, String>> list , String imagepath);
    }

    public  CallData callData;

    public  void setCallData(CallData callData){
        this.callData = callData;
    }

    public  CallData getCallData(){
        return callData;
    }

}
